import { createApp } from "vue";
import App from "./App.vue";
import { ConfigProvider } from "vant";
import { router } from "./routers/router";
import { Toast, Dialog } from "vant";
import "vant/es/toast/style";
import "vant/es/dialog/style";
import { createI18n } from "vue-i18n";
import i18n from "./i18n/lang/index";
import { createPinia } from "pinia";
import VueVideoPlayer from "@videojs-player/vue";
import "video.js/dist/video-js.css";
import VueQrcode from "vue-qrcode";
const pinia = createPinia();
const app = createApp(App);
app.use(ConfigProvider);
app.use(router);
app.use(Dialog);
app.use(Toast);
app.use(i18n);
app.use(pinia);
app.component('vue-qrcode', VueQrcode)
app.use(VueVideoPlayer);

app.mount("#app");
